# 定义数字列表
numbers = [1, 2, 3, 4, 5, 6, 7, 8]

# 循环判断并输出
for num in numbers:
    if num % 2 == 0:
        print(f"{num} 是偶数")
    else:
        print(f"{num} 是奇数")